package com.IOSLab.dao;

import com.IOSLab.entity.UserInfo;
import org.apache.ibatis.annotations.Param;

public interface UserInfoMapper {
    /**
     * @Author:LY
     * @Description:用户注册
     * @Date:2018/12/9
     */
    int insert(UserInfo userInfo);
    /**
     * @Author:LY
     * @Description:用户名查询
     * @Date:2018/12/9
     */
    int checkStudentId(String studentId);
    /**
     * @Author:LY
     * @Description:验证登陆
     * @Date:2018/12/9
     */
    UserInfo  selectLogin(@Param("username") String username,@Param("password") String password);

}
